package com.lucas.test.service;

import com.lucas.spring.annotation.Autowired;
import com.lucas.spring.annotation.Component;
import com.lucas.spring.annotation.Scope;
import com.lucas.test.service.impl.StudentService;

/**
 * @author: LiuCheng
 * @description:
 * @date: 2023-11-24 11:21
 **/

@Component("userService")
public class UserService {

    @Autowired
    private PersonService personService;

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void test(){
        System.out.println("userService-----------哈哈哈。。。");
    }
}
